<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE html>
<html>
<head>
<base href="${pageContext.request.contextPath}/">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>Insert title here</title>    
</head>

 <style>

 body{
     
      background:url('login/Public/images/2.jpg') no-repeat ;
      background-size:100%;
 
    }
  h2{
    position: absolute;
     font-family: "宋体";
     font-size:40px;
     color: red;
     top: 120px;
     left: 520px;  
    }
    
input{
    width: 60px%;
    cursor: pointer;
    background: #54a4d7;
    padding: 6px 18px;
    font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif;
    color: #fff;
    font-size: 18px;
    border: 1px solid #4682be;
    margin-bottom: 10px;
    margin-right: 22px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0px 1px 4px 4px rgba(0, 0, 0, 0.07) inset,
    0px 0px 0px 3px rgb(254, 254, 254),
    0px 5px 3px 3px rgb(210, 210, 210);
    -moz-box-shadow: 0px 1px 4px 4px rgba(0, 0, 0, 0.07) inset,
    0px 0px 0px 3px rgb(254, 254, 254),
    0px 5px 3px 3px rgb(210, 210, 210);
    box-shadow: 0px 1px 4px 4px rgba(0, 0, 0, 0.07) inset,
    0px 0px 0px 3px rgb(254, 254, 254),
    0px 5px 3px 3px rgb(210, 210, 210);
     position: absolute;
      top: 260px;
     left: 660px;  
    
    }
    .bg div{  
 
    margin-top: 100px;
    margin-left: 450px;
    background: url('login/Public/images/3.jpg') no-repeat ;
    width: 320px;
    height: 100px;
    border-radius: 8px;
    padding: 90px 38px 48px 30px;
    /*border: 1px solid green;*/
    opacity: 0.8;
    
    }
		</style>

<body>
<div class="bg">
	<div>
		<c:choose>
			<c:when test="${message}">
				<h2 id=cg>注册成功!</h2>
				<form action=user/login>
				<input  type="submit" value="马上登陆">
				</form>
			</c:when>
			<c:otherwise>
				<h2 id=sb>注册失败!</h2>
				<form action="user/reg">
				<input type="submit" value="重新注册">
		</form>
			</c:otherwise>
		</c:choose>
		<c:remove var="message"/>
	</div>
	</div>
</body>
</html>